Optimal. Leaf size=75 \[ -\frac{d \cosh ^3(a+b x)}{9 b^2}-\frac{2 d \cosh (a+b x)}{3 b^2}+\frac{2 (c+d x) \sinh (a+b x)}{3 b}+\frac{(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0442555, antiderivative size = 75, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {3310, 3296, 2638} \[ -\frac{d \cosh ^3(a+b x)}{9 b^2}-\frac{2 d \cosh (a+b x)}{3 b^2}+\frac{2 (c+d x) \sinh (a+b x)}{3 b}+\frac{(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3310
Rule 3296
Rule 2638
Rubi steps
\begin{align*} \int (c+d x) \cosh ^3(a+b x) \, dx &=-\frac{d \cosh ^3(a+b x)}{9 b^2}+\frac{(c+d x) \cosh ^2(a+b x) \sinh (a+b x)}{3 b}+\frac{2}{3} \int (c+d x) \cosh (a+b x) \, dx\\ &=-\frac{d \cosh ^3(a+b x)}{9 b^2}+\frac{2 (c+d x) \sinh (a+b x)}{3 b}+\frac{(c+d x) \cosh ^2(a+b x) \sinh (a+b x)}{3 b}-\frac{(2 d) \int \sinh (a+b x) \, dx}{3 b}\\ &=-\frac{2 d \cosh (a+b x)}{3 b^2}-\frac{d \cosh ^3(a+b x)}{9 b^2}+\frac{2 (c+d x) \sinh (a+b x)}{3 b}+\frac{(c+d x) \cosh ^2(a+b x) \sinh (a+b x)}{3 b}\\ \end{align*}
Mathematica [A] time = 0.227353, size = 52, normalized size = 0.69 \[ -\frac{-3 b (c+d x) (9 \sinh (a+b x)+\sinh (3 (a+b x)))+27 d \cosh (a+b x)+d \cosh (3 (a+b x))}{36 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.009, size = 115, normalized size = 1.5 \begin{align*}{\frac{1}{b} \left ({\frac{d}{b} \left ({\frac{ \left ( 2\,bx+2\,a \right ) \sinh \left ( bx+a \right ) }{3}}+{\frac{ \left ( bx+a \right ) \sinh \left ( bx+a \right ) \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{3}}-{\frac{7\,\cosh \left ( bx+a \right ) }{9}}-{\frac{ \left ( \sinh \left ( bx+a \right ) \right ) ^{2}\cosh \left ( bx+a \right ) }{9}} \right ) }-{\frac{da\sinh \left ( bx+a \right ) }{b} \left ({\frac{2}{3}}+{\frac{ \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{3}} \right ) }+c \left ({\frac{2}{3}}+{\frac{ \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{3}} \right ) \sinh \left ( bx+a \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.07191, size = 193, normalized size = 2.57 \begin{align*} \frac{1}{72} \, d{\left (\frac{{\left (3 \, b x e^{\left (3 \, a\right )} - e^{\left (3 \, a\right )}\right )} e^{\left (3 \, b x\right )}}{b^{2}} + \frac{27 \,{\left (b x e^{a} - e^{a}\right )} e^{\left (b x\right )}}{b^{2}} - \frac{27 \,{\left (b x + 1\right )} e^{\left (-b x - a\right )}}{b^{2}} - \frac{{\left (3 \, b x + 1\right )} e^{\left (-3 \, b x - 3 \, a\right )}}{b^{2}}\right )} + \frac{1}{24} \, c{\left (\frac{e^{\left (3 \, b x + 3 \, a\right )}}{b} + \frac{9 \, e^{\left (b x + a\right )}}{b} - \frac{9 \, e^{\left (-b x - a\right )}}{b} - \frac{e^{\left (-3 \, b x - 3 \, a\right )}}{b}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.96059, size = 257, normalized size = 3.43 \begin{align*} -\frac{d \cosh \left (b x + a\right )^{3} + 3 \, d \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{2} - 3 \,{\left (b d x + b c\right )} \sinh \left (b x + a\right )^{3} + 27 \, d \cosh \left (b x + a\right ) - 9 \,{\left (3 \, b d x +{\left (b d x + b c\right )} \cosh \left (b x + a\right )^{2} + 3 \, b c\right )} \sinh \left (b x + a\right )}{36 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.33362, size = 126, normalized size = 1.68 \begin{align*} \begin{cases} - \frac{2 c \sinh ^{3}{\left (a + b x \right )}}{3 b} + \frac{c \sinh{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{b} - \frac{2 d x \sinh ^{3}{\left (a + b x \right )}}{3 b} + \frac{d x \sinh{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{b} + \frac{2 d \sinh ^{2}{\left (a + b x \right )} \cosh{\left (a + b x \right )}}{3 b^{2}} - \frac{7 d \cosh ^{3}{\left (a + b x \right )}}{9 b^{2}} & \text{for}\: b \neq 0 \\\left (c x + \frac{d x^{2}}{2}\right ) \cosh ^{3}{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.30403, size = 132, normalized size = 1.76 \begin{align*} \frac{{\left (3 \, b d x + 3 \, b c - d\right )} e^{\left (3 \, b x + 3 \, a\right )}}{72 \, b^{2}} + \frac{3 \,{\left (b d x + b c - d\right )} e^{\left (b x + a\right )}}{8 \, b^{2}} - \frac{3 \,{\left (b d x + b c + d\right )} e^{\left (-b x - a\right )}}{8 \, b^{2}} - \frac{{\left (3 \, b d x + 3 \, b c + d\right )} e^{\left (-3 \, b x - 3 \, a\right )}}{72 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]